package com.ms.orm.mapping;


import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author .
 */
public interface ResultSetMapper<T> {
    /**
     * 将 ResultSet 转换为 T
     * @param rs
     * @return
     * @throws SQLException
     */
     T map(ResultSet rs)throws SQLException ;
}

